// 系统库
import Taro, { Component } from '@tarojs/taro'

/**
 * 导出Class
 */
export default class Lib_Mixin extends Component {


    /**
     * 获取当前页面状态
     */
    getStatus = ()=> {
        const isError = this.state.status == 'error';
		const isLoading = this.state.status == 'loading';
        const isSuccess = this.state.status == 'success';
        return {
            isError, 
            isLoading, 
            isSuccess
        };
    }
}
